package net.qiqb.core.domain.annotation;

/**
 * 单聚合根业务处理完之后
 *
 * @param <AR>
 */
public interface ExtendedAggregatePersistence<AR> {

    String matchedAggregateRootName();

    void persistAggregate(AR newObj, AR oldObj);
}
